package com.inspur.attendance.Service;

import com.inspur.attendance.Entity.Daily;
import org.springframework.data.domain.Page;

import java.util.List;

public interface DailyService {
    public Page<Daily> getAllDaily(int pageNo, int pageSize);

    public void delDaily(Long id) throws Exception;

    public void addDaily(Daily daily) throws Exception;

    public Page<Daily> findByDate(String startTime, String endTime, int pageNo, int pageSize) throws Exception;

    public List<Daily> findByName(String application) throws Exception;
    public Daily findTopByName(String application) throws Exception;

    public Daily findById(Long id)throws Exception;

    public void editDaily(Daily daily) throws Exception;
}
